#coding:utf-8
from django.conf.urls import url,patterns
from django.http import HttpResponseRedirect
from blogs import views
from snippets.models import Snippet
urlpatterns = patterns('snippets.views',
    url(r'^$','index'),
    url(r'^snippets/list/(?P<page>\d{0,10})$','list',{'templateName':'snippets_list.html','objType':Snippet}),
    url(r'^snippets/detail/(?P<id>\d+)/$','detail'),
    url(r'^snippets/list1/$','snippets_list'),
)
